package com.zhengshang.api.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 app_tao_order
 * 
 * @author zhengshang
 * @date 2022-04-30
 */
public class AppTaoOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long taoId;

    /** 订单在淘宝拍下付款的时间 */
    @Excel(name = "订单在淘宝拍下付款的时间")
    private String tbPaidTime;

    /** 订单付款的时间，该时间同步淘宝，可能会略晚于买家在淘宝的订单创建时间 */
    @Excel(name = "订单付款的时间，该时间同步淘宝，可能会略晚于买家在淘宝的订单创建时间")
    private String tkPaidTime;

    /** 买家确认收货的付款金额（不包含运费金额） */
    @Excel(name = "买家确认收货的付款金额", readConverterExp = "不=包含运费金额")
    private String payPrice;

    /** 结算预估收入=结算金额*提成。以买家确认收货的付款金额为基数，预估您可能获得的收入。因买家退款、您违规推广等原因，可能与您最终收入不一致。最终收入以月结后您实际收到的为准 */
    @Excel(name = "结算预估收入=结算金额*提成。以买家确认收货的付款金额为基数，预估您可能获得的收入。因买家退款、您违规推广等原因，可能与您最终收入不一致。最终收入以月结后您实际收到的为准")
    private String pubShareFee;

    /** 买家通过购物车购买的每个商品对应的订单编号，此订单编号并未在淘宝买家后台透出 */
    @Excel(name = "买家通过购物车购买的每个商品对应的订单编号，此订单编号并未在淘宝买家后台透出")
    private String tradeId;

    /** 二方：佣金收益的第一归属者； 三方：从其他淘宝客佣金中进行分成的推广者 */
    @Excel(name = "二方：佣金收益的第一归属者； 三方：从其他淘宝客佣金中进行分成的推广者")
    private Integer tkOrderRole;

    /** 订单确认收货后且商家完成佣金支付的时间 */
    @Excel(name = "订单确认收货后且商家完成佣金支付的时间")
    private String tkEarningTime;

    /** 推广位管理下的推广位名称对应的ID，同时也是pid=mm_1_2_3中的“3”这段数字 */
    @Excel(name = "推广位管理下的推广位名称对应的ID，同时也是pid=mm_1_2_3中的“3”这段数字")
    private Long adzoneId;

    /** 从结算佣金中分得的收益比率 */
    @Excel(name = "从结算佣金中分得的收益比率")
    private String pubShareRate;

    /** 维权标签，0 含义为非维权 1 含义为维权订单 */
    @Excel(name = "维权标签，0 含义为非维权 1 含义为维权订单")
    private String refundTag;

    /** 平台给与的补贴比率，如天猫、淘宝、聚划算等 */
    @Excel(name = "平台给与的补贴比率，如天猫、淘宝、聚划算等")
    private String subsidyRate;

    /** 提成=收入比率*分成比率。指实际获得收益的比率 */
    @Excel(name = "提成=收入比率*分成比率。指实际获得收益的比率")
    private String tkTotalRate;

    /** 商品所属的根类目，即一级类目的名称 */
    @Excel(name = "商品所属的根类目，即一级类目的名称")
    private String itemCategoryName;

    /** 掌柜旺旺 */
    @Excel(name = "掌柜旺旺")
    private String sellerNick;

    /** 推广者的会员id */
    @Excel(name = "推广者的会员id")
    private Long pubId;

    /** 推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率 */
    @Excel(name = "推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率")
    private String alimamaRate;

    /** 平台出资方，如天猫、淘宝、或聚划算等 */
    @Excel(name = "平台出资方，如天猫、淘宝、或聚划算等")
    private String subsidyType;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String itemImg;

    /** 付款预估收入=付款金额*提成。指买家付款金额为基数，预估您可能获得的收入。因买家退款等原因，可能与结算预估收入不一致 */
    @Excel(name = "付款预估收入=付款金额*提成。指买家付款金额为基数，预估您可能获得的收入。因买家退款等原因，可能与结算预估收入不一致")
    private String pubSharePreFee;

    /** 买家拍下付款的金额（不包含运费金额） */
    @Excel(name = "买家拍下付款的金额", readConverterExp = "不=包含运费金额")
    private String alipayTotalPrice;

    /** 商品标题 */
    @Excel(name = "商品标题")
    private String itemTitle;

    /** 媒体管理下的对应ID的自定义名称 */
    @Excel(name = "媒体管理下的对应ID的自定义名称")
    private String siteName;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long itemNum;

    /** 补贴金额=结算金额*补贴比率 */
    @Excel(name = "补贴金额=结算金额*补贴比率")
    private String subsidyFee;

    /** 技术服务费=结算金额*收入比率*技术服务费率。推广者赚取佣金后支付给阿里妈妈的技术服务费用 */
    @Excel(name = "技术服务费=结算金额*收入比率*技术服务费率。推广者赚取佣金后支付给阿里妈妈的技术服务费用")
    private String alimamaShareFee;

    /** 买家在淘宝后台显示的订单编号 */
    @Excel(name = "买家在淘宝后台显示的订单编号")
    private String tradeParentId;

    /** 订单所属平台类型，包括天猫、淘宝、聚划算等 */
    @Excel(name = "订单所属平台类型，包括天猫、淘宝、聚划算等")
    private String orderType;

    /** 订单创建的时间，该时间同步淘宝，可能会略晚于买家在淘宝的订单创建时间 */
    @Excel(name = "订单创建的时间，该时间同步淘宝，可能会略晚于买家在淘宝的订单创建时间")
    private String tkCreateTime;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String flowSource;

    /** 成交平台 */
    @Excel(name = "成交平台")
    private String terminalType;

    /** 通过推广链接达到商品、店铺详情页的点击时间 */
    @Excel(name = "通过推广链接达到商品、店铺详情页的点击时间")
    private String clickTime;

    /** 已付款：指订单已付款，但还未确认收货 已收货：指订单已确认收货，但商家佣金未支付 已结算：指订单已确认收货，且商家佣金已支付成功 已失效：指订单关闭/订单佣金小于0.01元，订单关闭主要有：1）买家超时未付款； 2）买家付款前，买家/卖家取消了订单；3）订单付款后发起售中退款成功；3：订单结算，12：订单付款， 13：订单失效，14：订单成功 */
    @Excel(name = "已付款：指订单已付款，但还未确认收货 已收货：指订单已确认收货，但商家佣金未支付 已结算：指订单已确认收货，且商家佣金已支付成功 已失效：指订单关闭/订单佣金小于0.01元，订单关闭主要有：1）买家超时未付款； 2）买家付款前，买家/卖家取消了订单；3）订单付款后发起售中退款成功；3：订单结算，12：订单付款， 13：订单失效，14：订单成功")
    private String tkStatus;

    /** 商品单价 */
    @Excel(name = "商品单价")
    private String itemPrice;

    /** 商品id */
    @Excel(name = "商品id")
    private Long itemId;

    /** 推广位管理下的自定义推广位名称 */
    @Excel(name = "推广位管理下的自定义推广位名称")
    private String adzoneName;

    /** 佣金比率 */
    @Excel(name = "佣金比率")
    private String totalCommissionRate;

    /** 商品链接 */
    @Excel(name = "商品链接")
    private String itemLink;

    /** 媒体管理下的ID，同时也是pid=mm_1_2_3中的“2”这段数字 */
    @Excel(name = "媒体管理下的ID，同时也是pid=mm_1_2_3中的“2”这段数字")
    private Long siteId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String sellerShopTitle;

    /** 订单结算的佣金比率+平台的补贴比率 */
    @Excel(name = "订单结算的佣金比率+平台的补贴比率")
    private String incomeRate;

    /** 佣金金额=结算金额＊佣金比率 */
    @Excel(name = "佣金金额=结算金额＊佣金比率")
    private String totalCommissionFee;

    /** 预估内容专项服务费：内容场景专项技术服务费，内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费＝付款金额＊专项服务费率 */
    @Excel(name = "预估内容专项服务费：内容场景专项技术服务费，内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费＝付款金额＊专项服务费率")
    private String tkCommissionPreFeeForMediaPlatform;

    /** 结算内容专项服务费：内容场景专项技术服务费，内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费＝结算金额＊专项服务费率 */
    @Excel(name = "结算内容专项服务费：内容场景专项技术服务费，内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费＝结算金额＊专项服务费率")
    private String tkCommissionFeeForMediaPlatform;

    /** 内容专项服务费率：内容场景专项技术服务费率，内容推广者在内容场景进行推广需要按结算金额支付一定比例给阿里妈妈作为内容场景专项技术服务费，用于提供与内容平台实现产品技术对接等服务。 */
    @Excel(name = "内容专项服务费率：内容场景专项技术服务费率，内容推广者在内容场景进行推广需要按结算金额支付一定比例给阿里妈妈作为内容场景专项技术服务费，用于提供与内容平台实现产品技术对接等服务。")
    private String tkCommissionRateForMediaPlatform;

    /** 会员运营id */
    @Excel(name = "会员运营id")
    private Long specialId;

    /** 渠道关系id */
    @Excel(name = "渠道关系id")
    private Long relationId;

    /** 系统内部用户Id */
    @Excel(name = "系统内部用户Id")
    private Long userId;

    /** 是否返佣 */
    @Excel(name = "是否返佣")
    private Integer isCommission;

    /** $column.columnComment */
    @Excel(name = "是否返佣")
    private BigDecimal commissionAmount;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTaoId(Long taoId) 
    {
        this.taoId = taoId;
    }

    public Long getTaoId() 
    {
        return taoId;
    }
    public void setTbPaidTime(String tbPaidTime) 
    {
        this.tbPaidTime = tbPaidTime;
    }

    public String getTbPaidTime() 
    {
        return tbPaidTime;
    }
    public void setTkPaidTime(String tkPaidTime) 
    {
        this.tkPaidTime = tkPaidTime;
    }

    public String getTkPaidTime() 
    {
        return tkPaidTime;
    }
    public void setPayPrice(String payPrice) 
    {
        this.payPrice = payPrice;
    }

    public String getPayPrice() 
    {
        return payPrice;
    }
    public void setPubShareFee(String pubShareFee) 
    {
        this.pubShareFee = pubShareFee;
    }

    public String getPubShareFee() 
    {
        return pubShareFee;
    }
    public void setTradeId(String tradeId) 
    {
        this.tradeId = tradeId;
    }

    public String getTradeId() 
    {
        return tradeId;
    }
    public void setTkOrderRole(Integer tkOrderRole) 
    {
        this.tkOrderRole = tkOrderRole;
    }

    public Integer getTkOrderRole() 
    {
        return tkOrderRole;
    }
    public void setTkEarningTime(String tkEarningTime) 
    {
        this.tkEarningTime = tkEarningTime;
    }

    public String getTkEarningTime() 
    {
        return tkEarningTime;
    }
    public void setAdzoneId(Long adzoneId) 
    {
        this.adzoneId = adzoneId;
    }

    public Long getAdzoneId() 
    {
        return adzoneId;
    }
    public void setPubShareRate(String pubShareRate) 
    {
        this.pubShareRate = pubShareRate;
    }

    public String getPubShareRate() 
    {
        return pubShareRate;
    }
    public void setRefundTag(String refundTag) 
    {
        this.refundTag = refundTag;
    }

    public String getRefundTag() 
    {
        return refundTag;
    }
    public void setSubsidyRate(String subsidyRate) 
    {
        this.subsidyRate = subsidyRate;
    }

    public String getSubsidyRate() 
    {
        return subsidyRate;
    }
    public void setTkTotalRate(String tkTotalRate) 
    {
        this.tkTotalRate = tkTotalRate;
    }

    public String getTkTotalRate() 
    {
        return tkTotalRate;
    }
    public void setItemCategoryName(String itemCategoryName) 
    {
        this.itemCategoryName = itemCategoryName;
    }

    public String getItemCategoryName() 
    {
        return itemCategoryName;
    }
    public void setSellerNick(String sellerNick) 
    {
        this.sellerNick = sellerNick;
    }

    public String getSellerNick() 
    {
        return sellerNick;
    }
    public void setPubId(Long pubId) 
    {
        this.pubId = pubId;
    }

    public Long getPubId() 
    {
        return pubId;
    }
    public void setAlimamaRate(String alimamaRate) 
    {
        this.alimamaRate = alimamaRate;
    }

    public String getAlimamaRate() 
    {
        return alimamaRate;
    }
    public void setSubsidyType(String subsidyType) 
    {
        this.subsidyType = subsidyType;
    }

    public String getSubsidyType() 
    {
        return subsidyType;
    }
    public void setItemImg(String itemImg) 
    {
        this.itemImg = itemImg;
    }

    public String getItemImg() 
    {
        return itemImg;
    }
    public void setPubSharePreFee(String pubSharePreFee) 
    {
        this.pubSharePreFee = pubSharePreFee;
    }

    public String getPubSharePreFee() 
    {
        return pubSharePreFee;
    }
    public void setAlipayTotalPrice(String alipayTotalPrice) 
    {
        this.alipayTotalPrice = alipayTotalPrice;
    }

    public String getAlipayTotalPrice() 
    {
        return alipayTotalPrice;
    }
    public void setItemTitle(String itemTitle) 
    {
        this.itemTitle = itemTitle;
    }

    public String getItemTitle() 
    {
        return itemTitle;
    }
    public void setSiteName(String siteName) 
    {
        this.siteName = siteName;
    }

    public String getSiteName() 
    {
        return siteName;
    }
    public void setItemNum(Long itemNum) 
    {
        this.itemNum = itemNum;
    }

    public Long getItemNum() 
    {
        return itemNum;
    }
    public void setSubsidyFee(String subsidyFee) 
    {
        this.subsidyFee = subsidyFee;
    }

    public String getSubsidyFee() 
    {
        return subsidyFee;
    }
    public void setAlimamaShareFee(String alimamaShareFee) 
    {
        this.alimamaShareFee = alimamaShareFee;
    }

    public String getAlimamaShareFee() 
    {
        return alimamaShareFee;
    }
    public void setTradeParentId(String tradeParentId) 
    {
        this.tradeParentId = tradeParentId;
    }

    public String getTradeParentId() 
    {
        return tradeParentId;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setTkCreateTime(String tkCreateTime) 
    {
        this.tkCreateTime = tkCreateTime;
    }

    public String getTkCreateTime() 
    {
        return tkCreateTime;
    }
    public void setFlowSource(String flowSource) 
    {
        this.flowSource = flowSource;
    }

    public String getFlowSource() 
    {
        return flowSource;
    }
    public void setTerminalType(String terminalType) 
    {
        this.terminalType = terminalType;
    }

    public String getTerminalType() 
    {
        return terminalType;
    }
    public void setClickTime(String clickTime) 
    {
        this.clickTime = clickTime;
    }

    public String getClickTime() 
    {
        return clickTime;
    }
    public void setTkStatus(String tkStatus) 
    {
        this.tkStatus = tkStatus;
    }

    public String getTkStatus() 
    {
        return tkStatus;
    }
    public void setItemPrice(String itemPrice) 
    {
        this.itemPrice = itemPrice;
    }

    public String getItemPrice() 
    {
        return itemPrice;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setAdzoneName(String adzoneName) 
    {
        this.adzoneName = adzoneName;
    }

    public String getAdzoneName() 
    {
        return adzoneName;
    }
    public void setTotalCommissionRate(String totalCommissionRate) 
    {
        this.totalCommissionRate = totalCommissionRate;
    }

    public String getTotalCommissionRate() 
    {
        return totalCommissionRate;
    }
    public void setItemLink(String itemLink) 
    {
        this.itemLink = itemLink;
    }

    public String getItemLink() 
    {
        return itemLink;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setSellerShopTitle(String sellerShopTitle) 
    {
        this.sellerShopTitle = sellerShopTitle;
    }

    public String getSellerShopTitle() 
    {
        return sellerShopTitle;
    }
    public void setIncomeRate(String incomeRate) 
    {
        this.incomeRate = incomeRate;
    }

    public String getIncomeRate() 
    {
        return incomeRate;
    }
    public void setTotalCommissionFee(String totalCommissionFee) 
    {
        this.totalCommissionFee = totalCommissionFee;
    }

    public String getTotalCommissionFee() 
    {
        return totalCommissionFee;
    }
    public void setTkCommissionPreFeeForMediaPlatform(String tkCommissionPreFeeForMediaPlatform) 
    {
        this.tkCommissionPreFeeForMediaPlatform = tkCommissionPreFeeForMediaPlatform;
    }

    public String getTkCommissionPreFeeForMediaPlatform() 
    {
        return tkCommissionPreFeeForMediaPlatform;
    }
    public void setTkCommissionFeeForMediaPlatform(String tkCommissionFeeForMediaPlatform) 
    {
        this.tkCommissionFeeForMediaPlatform = tkCommissionFeeForMediaPlatform;
    }

    public String getTkCommissionFeeForMediaPlatform() 
    {
        return tkCommissionFeeForMediaPlatform;
    }
    public void setTkCommissionRateForMediaPlatform(String tkCommissionRateForMediaPlatform) 
    {
        this.tkCommissionRateForMediaPlatform = tkCommissionRateForMediaPlatform;
    }

    public String getTkCommissionRateForMediaPlatform() 
    {
        return tkCommissionRateForMediaPlatform;
    }
    public void setSpecialId(Long specialId) 
    {
        this.specialId = specialId;
    }

    public Long getSpecialId() 
    {
        return specialId;
    }
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setIsCommission(Integer isCommission) 
    {
        this.isCommission = isCommission;
    }

    public Integer getIsCommission() 
    {
        return isCommission;
    }
    public void setCommissionAmount(BigDecimal commissionAmount) 
    {
        this.commissionAmount = commissionAmount;
    }

    public BigDecimal getCommissionAmount() 
    {
        return commissionAmount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taoId", getTaoId())
            .append("tbPaidTime", getTbPaidTime())
            .append("tkPaidTime", getTkPaidTime())
            .append("payPrice", getPayPrice())
            .append("pubShareFee", getPubShareFee())
            .append("tradeId", getTradeId())
            .append("tkOrderRole", getTkOrderRole())
            .append("tkEarningTime", getTkEarningTime())
            .append("adzoneId", getAdzoneId())
            .append("pubShareRate", getPubShareRate())
            .append("refundTag", getRefundTag())
            .append("subsidyRate", getSubsidyRate())
            .append("tkTotalRate", getTkTotalRate())
            .append("itemCategoryName", getItemCategoryName())
            .append("sellerNick", getSellerNick())
            .append("pubId", getPubId())
            .append("alimamaRate", getAlimamaRate())
            .append("subsidyType", getSubsidyType())
            .append("itemImg", getItemImg())
            .append("pubSharePreFee", getPubSharePreFee())
            .append("alipayTotalPrice", getAlipayTotalPrice())
            .append("itemTitle", getItemTitle())
            .append("siteName", getSiteName())
            .append("itemNum", getItemNum())
            .append("subsidyFee", getSubsidyFee())
            .append("alimamaShareFee", getAlimamaShareFee())
            .append("tradeParentId", getTradeParentId())
            .append("orderType", getOrderType())
            .append("tkCreateTime", getTkCreateTime())
            .append("flowSource", getFlowSource())
            .append("terminalType", getTerminalType())
            .append("clickTime", getClickTime())
            .append("tkStatus", getTkStatus())
            .append("itemPrice", getItemPrice())
            .append("itemId", getItemId())
            .append("adzoneName", getAdzoneName())
            .append("totalCommissionRate", getTotalCommissionRate())
            .append("itemLink", getItemLink())
            .append("siteId", getSiteId())
            .append("sellerShopTitle", getSellerShopTitle())
            .append("incomeRate", getIncomeRate())
            .append("totalCommissionFee", getTotalCommissionFee())
            .append("tkCommissionPreFeeForMediaPlatform", getTkCommissionPreFeeForMediaPlatform())
            .append("tkCommissionFeeForMediaPlatform", getTkCommissionFeeForMediaPlatform())
            .append("tkCommissionRateForMediaPlatform", getTkCommissionRateForMediaPlatform())
            .append("specialId", getSpecialId())
            .append("relationId", getRelationId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("isCommission", getIsCommission())
            .append("createTime", getCreateTime())
            .append("commissionAmount", getCommissionAmount())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
